* lisp/progmodes/python.el (python-mode): Don't set
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:28:50 +0000 (15:28 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:28:50 +0000 (15:28 -0300)
mode-require-final-newline.

lisp/ChangeLog
lisp/progmodes/python.el

index e9e495e0da8cd76f68db581cb79de1aa42f23f9f..3655cca8bc4b02c90acbe7f0e6be3891382a30b1 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-mode): Don't set
+       mode-require-final-newline.  (Bug#17990)
+
 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 
        Make python.el work with IPython automatically.  (Bug#15510)
index 229874d3d5115f01277a978edc955ad9d03206aa..f4ff03e240563ac884458b200ac8169959815521 100644 (file)
@@ -4023,8 +4023,6 @@ returned as is."
                              ,(lambda (_arg)
                                 (python-nav-end-of-defun)) nil))
 
-  (set (make-local-variable 'mode-require-final-newline) t)
-
   (set (make-local-variable 'outline-regexp)
        (python-rx (* space) block-start))
   (set (make-local-variable 'outline-heading-end-regexp) ":[^\n]*\n")